﻿@model LoginModel

<div id="login">
	@Html.Alert(Html.ValidationSummary(), AlertType.Error)

	@using (Html.BeginForm("Login", "Security", Url.PreserveQueryString(), FormMethod.Post, new
																								{
																									@class = "well"
																								}.ToHtmlAttributes()))
	{
		@Html.AntiForgeryToken()

		<fieldset>
			@Html.EditorGroupFor(x => x.EmailAddress, "*")
			@Html.EditorGroupFor(x => x.Password, "*")
			@Html.SubmitButton("Login", new
											{
												@class = "btn btn-primary"
											})
		</fieldset>
	}
</div>